#ifndef PALMUS_H
#define PALMUS_H

#include <QWidget>
#include <QPainter>
#include "get_date.h"
namespace Ui {
class Palmus;
}

class Palmus : public QWidget
{
    Q_OBJECT

public:
    explicit Palmus(QWidget *parent = 0);
    ~Palmus();
protected slots:
    void slot_get_date(int temp1,int temp2,int temp3,int temp4,int temp5);
signals:
    void get_date_flag(int temp);
private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

private:
    bool eventFilter(QObject *object1, QEvent *event1);
    void draw_palmus();

    void draw_ibi();
//    void draw_heart();
    Ui::Palmus *ui;
    Get_date Demodate;
};

#endif // PALMUS_H
